@import "./common/var.css";

.van-number-keyboard {
  left: 0;
  bottom: 0;
  width: 100%;
  position: fixed;
  user-select: none;
  background-color: $white;
  animation-timing-function: ease-out;

  &__title {
    font-weight: 400;
    text-align: center;
    color: $gray-dark;
    font-size: 12px;
    line-height: 25px;
  }

  i {
    width: calc(100%/3);
    height: 54px;
    font-size: 24px;
    line-height: 54px;
    font-style: normal;
    text-align: center;
    display: inline-block;
    vertical-align: middle;

    &::after {
      border-top-width: 1px;
    }

    &:not(:nth-of-type(3n))::after {
      border-right-width: 1px;
    }

    &:nth-of-type(10),
    &:nth-of-type(12) {
      background-color: #F3F3F6;
    }
  }

  &__delete {
    background: url("") no-repeat center center;
    background-size: auto 15px;
  }

  i&--active {
    background-color: $active-color!important;
  }
}
